<div class="whole">
  <div class="row-and-list">
    <div class="grids-row" *ngFor="let buweiRow of buweiRows; let ri = index">
      <div class="grids-list" *ngFor=" let buweiList of buweiLists; let li = index" (click)="clickGrid(ri,li)">
        <div class="grids-list" *ngIf="buwei[ri][li] == 0" style="display:block">
        </div>
        <div class="grids-list" *ngIf="buwei[ri][li] == 1" style="background-color: red; display:block; opacity: 0.4">
        </div>
      </div>
    </div>
  </div>
</div>


<button (click)="save()">Save</button>
